ifneq ($(KERNELRELEASE), )
	obj-m := driver.o 

else
	KDIR:=/opt/Embedsky/TQIMX6/E9/Ubuntu/linux_E9_3.0.35_for_Ubuntu

all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	rm -f *.ko *.o *.mod.o *.mod.c .symvers
	
endif
